package com.jk.smartelderlycare.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
@ToString
@TableName(value = "sys_coupon")
public class SysCoupon implements Serializable {

    private static final long serialVersionUID = 2925199460605042284L;
    @TableId(value = "coupon_Id",type = IdType.AUTO)
    private Long couponId;

    private String couponName;

    private Long couponPar;

    private String couponOrder;

    private String couponPayment;

    private Long couponNum;

    private String couponHome;

    private Date createDate;

    private Date expirationTime;

    private String remark;

    @TableField(exist = false)
    private String startOrder;//
    @TableField(exist = false)
    private String endOrder;//

    @TableField(exist = false)
    private List<Long> homestayIds;//新增多个id(新增修改)

    @TableField(exist = false)
    private String strHomestay;//数据库编号(回显使用)

    @TableField(exist = false)
    private String homename;//数据库编号(查询使用)


}